/* FILE : unisocket.h */
#ifndef _UNISOCKET_H
#define _UNISOCKET_H

typedef void (*UnisocketReceiveHandler)(void *, size_t);

int unisocket_connect(void);
void unisocket_disconnect(void);
void unisocket_send(char *buf, int len);
void unisocket_set_receive_handler(UnisocketReceiveHandler);

#endif /* _UNISOCKET_H */
